package com.taotao.container.entity;

import lombok.Data;

import java.util.HashSet;
import java.util.Set;

@Data
public class ServiceInfo {
    /**
     * 服务的名称
     */
    private String serviceName;
    /**
     * 服务地址（多个）
     */
    private Set<String> serviceAddress;

    public ServiceInfo(String serviceName) {
        this.serviceName = serviceName;
        serviceAddress=new HashSet<>();
    }
}